package com.ymatou.iapi.optrade.parameter.req;

import com.ymt.base.BaseBean;

/**
 */
@SuppressWarnings("serial")
public abstract class BaseRequest extends BaseBean {

	/**
	 * 客户端应用ID
	 */
	private String appId;

	/**
	 * 请求ID
	 */
	private String requestId;

	public String getAppId() {
		return appId;
	}

	public String getRequestId() {
		return requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	/**
	 * 一般请求，requestId不强制必填
	 * @return
	 */
	public boolean requireRequestId() {
		return false;
	}

	/**
	 * 老的.net系统的请求都沒有appId
	 * @return
	 */
	public boolean requiresAppId() {
		return false;
	}
}
